package cn.worken.baseframe.dao.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author genxin.liu
 * @since 2021/12/27 11:49
 */
@Configuration
@EnableTransactionManagement
@PropertySource("classpath:datasource_default.properties")
@MapperScan(basePackages = "cn.worken.baseframe.dao.mapper")
@ComponentScan(basePackages = "cn.worken.baseframe.dao")
public class DaoConfig {

}
